// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package org.jetbrains.kotlin.idea.repl;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;

/**
 * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}.
 * DO NOT MODIFY MANUALLY.
 */
@SuppressWarnings("all")
@TestRoot("idea/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("testData/repl/completion")
public class IdeReplCompletionTestGenerated extends AbstractIdeReplCompletionTest {
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public final KotlinPluginMode getPluginMode() {
        return KotlinPluginMode.K1;
    }

    private void runTest(String testDataFilePath) throws Exception {
        KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
    }

    @TestMetadata("builtInMember.kt")
    public void testBuiltInMember() throws Exception {
        runTest("testData/repl/completion/builtInMember.kt");
    }

    @TestMetadata("definedClass.kt")
    public void testDefinedClass() throws Exception {
        runTest("testData/repl/completion/definedClass.kt");
    }

    @TestMetadata("definedClassMember.kt")
    public void testDefinedClassMember() throws Exception {
        runTest("testData/repl/completion/definedClassMember.kt");
    }

    @TestMetadata("definedExtension.kt")
    public void testDefinedExtension() throws Exception {
        runTest("testData/repl/completion/definedExtension.kt");
    }

    @TestMetadata("functions.kt")
    public void testFunctions() throws Exception {
        runTest("testData/repl/completion/functions.kt");
    }

    @TestMetadata("stdlib.kt")
    public void testStdlib() throws Exception {
        runTest("testData/repl/completion/stdlib.kt");
    }

    @TestMetadata("variables.kt")
    public void testVariables() throws Exception {
        runTest("testData/repl/completion/variables.kt");
    }
}
